var mysql  = require('mysql');
var config = require('../config');

module.exports = mysql.createPool({
    connectionLimit : 10,
    host     : config.db_host,
    port     : config.db_port,
    user     : config.db_user,
    password : config.db_pass,
    database : config.db_name
});